Skip to content

Conversation

@mbleigh
Copy link
Contributor

@mbleigh mbleigh commented Jul 7, 2020

Description

Code sample

'us-central1',
'us-east1',
'us-east4',
'us-west3',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that GCF supports so many region could we consider changing the invalid region check from an error to a warning? That way we don't have to keep chasing this list.

We can link people to this page from the warning:
https://cloud.google.com/functions/docs/locations

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not actually going to have it error or warn anymore. The supported regions will just be a TypeScript hinting convenience, and in a followup I think we should have the CLI do a live check against the locations API instead.

@mbleigh mbleigh merged commit b6e611b into master Jul 7, 2020
@mbleigh mbleigh deleted the mb-regions branch July 7, 2020 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants